package com.crm.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SysMenu implements Serializable {

    //菜单Id
    private Long menuId;
    private String menuName;
    //父菜单id
    private Long parentId;
    //显示顺序
    private Integer orderNum;
    //路由地址
    private String path;
    //组件路径
    private String component;
    //是否为外键
    private Integer isFrame;
    //是否缓存
    private Integer isCache;
    //菜单类型
    private String menuType;
    //菜单状态（0显示 1隐藏）
    private String visible;
    //状态
    private String status;
    //权限标识
    private String perms;
    //菜单图标
    private String icon;

    private String createBy;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;
    //备注
    private String remark;

}
